<?php

namespace app\api\controller\v1;

use app\common\controller\Api;
use app\common\utils\Utils;
use think\Db;


/**
 * 会员接口
 */
class System extends Api
{
    protected $noNeedLogin = [];
    protected $noNeedRight = '*';


   public function infos() {
       $list = Db::name('my_info')->order('createtime desc')->paginate()->each(function ($item, $key) {
           $item['createtime_text'] = Utils::time_format($item['createtime']);

           return $item;
       });

       $this->success('系统信息', $list);
   }


}
